<?php get_header(); ?>

<!-- container start -->
	<div id="container">

<!-- sidebar start -->
<?php get_sidebar(); ?>
<!-- sidebar end -->

<!-- content start -->
        <div id="content">

    <?php if(have_posts()) : ?>
      <?php while(have_posts()) : the_post(); ?>
            <div class="post">
              <h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
              <div class="entry">
                <?php the_content(); ?>
                <div class="endline"></div>
                <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
                <?php edit_post_link('Edit', '<p>', '</p>'); ?>
              </div>
            </div>
      <?php endwhile; ?>

      <?php else : ?>
        <div class="notfound">
          <h2>Page Not Found!</h2><br /><h2>Please try again.</h2>
        </div>
    <?php endif; ?>

        </div>
<!-- content end -->

<?php get_footer(); ?>